package com.impak.infoot.transport

import com.impak.infoot.domain.foot.Player

/**
 * Interface for the service PlayerService transport layer
 * @author nzouabi
 *
 */
 interface IPlayerService {
 	
 	/**
	 * [PLA_1]
	 * This service returns a player given its Id
	 * @param playerId playerId
	 * @return Instance of <code>Player</code>
	 */
 	Player getPlayer(Long playerId)
 	
 	/**
	 * [PLA_2]
	 * This service returns players playing with a team in a given date
	 * @param teamId teamId
	 * @return List of <code>Player</code>
	 */
	List<Player> getTeamPlayers(Long teamId, Calendar date)
	
	/**
	 * [PLA_3]
	 * This service returns the list of player that player a given match with a team
	 * @param teamId teamId
	 * @param matchId playerId
	 * @return List of <code>Player</code>
	 */
	List<Player> getPlayersOfTeamInMatch(Long teamId, Long matchId)
 
 }